class Constant {
  static const int server_v = 0;

  ///  1正式环境  0测试环境
  static const String server_address = (server_v == 1) ? _buge_server : _buge_server_bata;

  /// 正式环境
  static const String _buge_server = "app.moknia.com";

  /// 测试环境 (xkkj.vipgz6.91tunnel.com、1.13.3.254)
  static const String _buge_server_bata = "http://www.harem.vip:9528";

  static const String universal_links = "https://msk.bugetech.com/share/";

  static const String apple_id = "6444930751";

  static const String im_appKey = "1144220224135422#moknia";

  static const String im_apns_name = (server_v == 1) ? im_aps_production_name : im_aps_development_name;

  /// 七牛图片域名
  static const String qiniu_address = "http://img.harem.vip";

  /// 获取视频流
  static const String video_address = "?vframe/jpg/offset/1/w/#{size}";

  /// 获取压缩后的图片：
  static const String image_thumbnail =
      "?imageMogr2/thumbnail/#{size}x/strip/quality/#{size}/auto-orient/format/webp";

  /// 环信IM生产环境证书名称
  static const String im_aps_production_name = "aps_production";

  /// 环信IM开发环境证书名称
  static const String im_aps_development_name = "aps_development";

  static const bool useHttps = true;

  static const String interface_prefix = (server_v == 1) ? '/dev' : '/dev';

  static const String server_version = '1.0.0';

  static const String channel_id = 'com.dev.api.test';

  static const String qiniu_ipload_host = "http://up.qiniu.com";
}
